package com.megvii.koala.data.bean;

import com.megvii.corelib.data.BaseBean;

/**
 * Created by linyue on 16/3/9.
 */
public class CompanyBean extends BaseBean
{
    public boolean attendance_on;

    public String consigner;

    public long data_version;

    public String deployment;

    /**
     * 08点00分到21点00分
     * [ [8, 0], [21, 0] ]
     */
    public int[][] door_range;

    /**
     * 星期一二三四五六日
     * [1, 2, 3, 4, 5, 6, 7]
     */
    public int[] door_weekdays;

    public String logo;

    public String name;

    public int getDoorHourStart()
    {
        return door_range[0][0];
    }

    public int getDoorMinuteStart()
    {
        return door_range[0][1];
    }

    public int getDoorHourEnd()
    {
        return door_range[1][0];
    }

    public int getDoorMinuteEnd()
    {
        return door_range[1][1];
    }
}
